/* 
 * Created on 17. September 2008, 23:38
 *
 *      Copyright 2008 Oliver Eichner <o.eichner@gmail.com>
 *      
 *      This program is free software; you can redistribute it and/or modify
 *      it under the terms of the GNU General Public License as published by
 *      the Free Software Foundation; either version 3 of the License, or
 *      (at your option) any later version.
 *      
 *      This program is distributed in the hope that it will be useful,
 *      but WITHOUT ANY WARRANTY; without even the implied warranty of
 *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *      GNU General Public License for more details.
 *      
 *      You should have received a copy of the GNU General Public License
 *      along with this program; if not, write to the Free Software
 *      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 *      MA 02110-1301, USA.
 */

/**
 * @file SaveToFileDialog.h
 * SaveToFileDialog header
 */

#ifndef _SAVETOFILEDIALOG_H
#define	_SAVETOFILEDIALOG_H

#include <gtkmm.h>
#include <gtkmm/filechooserwidget.h>
#include <gtkmm/container.h>
#include <gtkmm/dialog.h>
#include <gtkmm/widget.h>
#include <gtkmm/stock.h>

#include "Device.h"
#include "text.h"
#include <list>

/**
 * @class SaveToFileDialog
 * a filechooser Dialog for saving device
 * information to a text file
 * @version 0.1
 * @autor Oliver Eichner
 */
class SaveToFileDialog : public Gtk::Dialog {
public:
    SaveToFileDialog(Device nDeviceIter);
    virtual ~SaveToFileDialog();
    virtual void saveTo(string filename, Device nDevice);
    virtual string get_Filename();

private:
    Gtk::FileChooserWidget sv_FileChooser;

};

#endif	/* _SAVETOFILEDIALOG_H */

